package com.eugenema.entity;

/**
 * 实体类：球队
 * @author Eugenema
 * @date 2023-03-01 10:21
 */
public class Team {
    /** 队伍名称 */
    private String name;
    /** 队伍链接 */
    private String link;

    public Team() {
    }

    /**
     * 有参构造
     *
     * @author Eugenema
     * @date 2023/3/12 15:18
     *
     * @param name 球队名称
     * @param link 球队地址
     *
     **/
    public Team(String name, String link) {
        this.name = name;
        this.link = link;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    @Override
    public String toString() {
        return name + "[" + link + "]";
    }
}
